<#include "/macro.include"/>
<#include "/java_copyright.include">
<#assign className = table.className>   
<#assign classNameLower = className?uncap_first> 
package ${basepackage}.controller.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.*;
<#include "/java_imports.include">
@ApiModel( value = "${className}Dto", description = "$!{table.comment}")
@Data
@NoArgsConstructor
public class ${className}Dto implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	<#list table.columns as column>
	/**  
     * ${column.remarks}  
     */
	@ApiModelProperty( value = "${column.remarks}", required = true )
	${column.hibernateValidatorExprssion}
	private ${column.simpleJavaType} ${column.columnNameLower};
	</#list>


}
